Replies: 1 comment 1 reply
-
Honestly, I don't remember 😅 I sort of remember there being a reason to only use class methods on your database, but then these should have been private methods... I guess we can document it. I'm not thinking of any reason why it needs to be nodoc 🤷♂️ |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I saw transaction method defined in here, but, marked with :nodoc:, there is no document in our website too, so, I am wonder if I should used and used it incorrect?
Please check following source code, it's running without error, but I don't know if the db transaction is take effect.
https://github.com/crystal-china/website/blob/add_replies_to_doc/tasks/synchronizations/user_to_reply.cr#L10-L28
Thanks
Beta Was this translation helpful? Give feedback.
All reactions